package com.cn.qgx428.lazydiary.Utils.qiniuUtils

/**
 * Created by qinguanxiong on 2018/4/7.
 *
 * 格式化数据
 */
class FormatUtils {
    companion object {
        fun timePatch(time:Int): String{
            if (time.toString().length == 1){
                return "0" + time.toString()
            }
            return time.toString()
        }
    }
}